/*
* ===================================================
*
*       Filename:  queen.hh
*
*       Version:  1.0
*       Created:  12/09/2011 04:47:36 PM
*       Compiler:  gcc
*
*       Author:  durand_y, <yoan.durand@gmail.com>
*
* ===================================================
*/

#ifndef QUEEN_HH
# define QUEEN_HH

# include "ant.hh"

class Queen : public Ant
{
public:
	Queen (int x, int y, bool is_queen);
	~Queen ();

	int remove_pb ();
	int remove_pf ();
	int remove_pq ();
	int remove_pw ();
	void action ();
	//create_ant (int type);
	void print ();
	//getter and setter
	int get_q_ressouce ()
	{
		return (this->q_ressource_);
	}

	int get_type ()
	{
		return (this->type_);
	}

	void set_q_ressource (int r)
	{
		q_ressource_ += r;
	}

	void set_type (int i)
	{
		type_ += (i % 4);
		type_ = (type_ % 4);
	}
private:
	int q_ressource_;
	int type_;
};

#endif /* !QUEEN_HH */
